<!DOCTYPE html>
<html>
	<head>
	<meta charset="UTF-8">
	   <title>{$title}电话_地址_怎么样-奇快企服</title>
        
        <meta name="applicable-device" content="pc">
        <meta name="mobile-agent" content="format=html5; url="https://m.qikuai100.com/company/{$id}/" >
        <meta name="mobile-agent" content="format=xhtml; url="https://m.qikuai100.com/company/{$id}/" >
        <meta name="mobile-agent" content="format=wml; url="https://m.qikuai100.com/company/{$id}/" >

        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="keywords" content="{$title}怎么样，{$title}电话地址">
        <meta name="description" content="{$desc}">

        <link rel="icon" href="/icon.png" />
        <link rel="stylesheet" href="/static/index/css/reset.css">
        <link rel="stylesheet" href="/static/index/lib/bootstrap.css">
        	<link rel="stylesheet" type="text/css" href="/static/index/lib/swiper.min.css"/>

        <link rel="stylesheet" href="/static/index/css/common.css">
        <link rel="stylesheet" href="/static/index/css/home.css">
        	<link rel="stylesheet" href="/static/index/css/company.css">
        
        <script src="/static/index/lib/jquery-2.1.4.js"></script>
        <script src="/static/index/lib/bootstrap.min.js"></script>
        <script type="text/javascript" src="/static/index/lib/swiper-3.4.2.min.js"></script>
        <script type="text/javascript" src="/static/index/lib/template.js"></script>
        <script>
            var _hmt = _hmt || [];
            (function() {
              var hm = document.createElement("script");
              hm.src = "https://hm.baidu.com/hm.js?8b340ebdd740974de9d621b14ab09b43";
              var s = document.getElementsByTagName("script")[0]; 
              s.parentNode.insertBefore(hm, s);
            })();
        </script>
	</head>
	<body>
        {include file="public/push"}
		{include file="public/header2"}


            <div class="widthFullScreen" style="background: #fff;">
                <div class="wdSafe">
                    <div class="nav_common wdSafe" style="overflow: hidden;">
                        <ol class="breadcrumb pull-left" style="background: #fff;">
                            <li><a href="/">首页</a></li>
                            <li><a href="/gs/">资质代办公司</a></li>
                            <li class="active"><a href="javascript:;">{$company_detail.hearinfo.company_name}</a></li>
                        </ol>
                    </div>
                	
            		<div class="company_tap" style="padding-left: 0;">
            			<img class="com_img pull-left" src="{$company_detail.hearinfo.logo}" alt="" />
        				<div class="pull-left comp_word">
        					<div class="com_name ellipcs">{$company_detail.hearinfo.company_name}</div>
        					<div class="fuwu_wrap clearfix">
        						<div class="de_com_title pull-left">服务平分：<span>{$company_detail.hearinfo.star}</span></div>
        						<div class="de_com_title pull-left">咨询人数：<span>{$company_detail.hearinfo.view_num}人</span></div>
        					</div>
        					<div class="address_com ellipcs">地址：{$company_detail.hearinfo.address}</div>
        				</div>
            		</div>
                		
                </div>
            </div>
            
            <div class="widthFullScreen" style="height: 18px;background: #f2f2f2;"></div>
            
            <div class="widthFullScreen nav_dt_wrap">
        		<div class="wdSafe clearfix">
        			<ul class="com_dt_nav">
        				<li>
        					<a class="active" href="/company/{$company_detail.id}/">首页</a>
        				</li>
        				<li>
        					<a href="/gs/getIntroduce/{$company_detail.id}/">公司介绍</a>
        				</li>
        				<li>
        					<a href="/gs/getCompCase/{$company_detail.id}/">资质案列</a>
        				</li>
        				<li>
        					<a href="/gs/getCompElite/{$company_detail.id}/">精英介绍</a>
        				</li>
        				<li>
        					<a href="javascript:;">联系我们</a>
        				</li>
        			</ul>
        		</div>
            </div>
        
            <!-- 公司轮播图介绍 -->
    		<div class="wdSafe clearfix" style="margin-top: 20px;">
    			<div class="swiper-container companyDtSwiper pull-left">
    			 	<div class="swiper-wrapper">	
                        {foreach $company_detail.album as $item}
        				    <div class="swiper-slide">
    				    		<img src="{$item}" alt="" />
        				    </div>
                        {/foreach}
    			 	</div>
    			 	<div class="swiper-pagination"></div>
    			</div>
    			<div class="pull-left de_wrap">
    				<div class="dt_name">公司介绍 <span>Company Introduction</span></div>
    				<div class="introducre_word">{$company_detail.company_desc}</div>
    				<div class="dt_name">公司规模 <span>Company Size</span></div>
    				<div class="introducre_word">{$company_detail.scale}人</div>
    				<div class="dt_name">资质代办服务 <span>Eligible Service</span></div>
    				<div class="introducre_word">
    					<ul class="company_userd clearfix compUseList" style="width: auto;">
                            {foreach $company_detail.categorys as $item }
    						    <li>{$item}</li>
                            {/foreach}
    					</ul>
    				</div>
    				<a href="/baojia/" class="getPrice">免费为我提供报价</a>
    			</div>
    		</div>
    		
    		<!-- 公司介绍 -->
    		<div class="wdSafe com_wrap">
    			<div class="com_header">
    				公司介绍
    			</div>
    			<div class="intro_style_box">
    				<p class="intro_style">
    					{$company_detail.company_desc}
    				</p>
    			</div>
    		</div>
    		
    		<!-- 公司优势 -->
    		<div class="wdSafe com_wrap">
    			<div class="com_header">
    				公司优势
    			</div>
    			<div class="intro_style_box">
    				<p class="intro_style">
    					{$company_detail.advantage}
    				</p>
    			</div>
    		</div>
    		
    		<!-- 资质案例 -->
    		<div class="wdSafe com_wrap">
    			<div class="com_header">
    				资质案例
    				<a class="pull-right moreNews">更多</a>
    			</div>
    			<div class="intro_style_box clearfix"> 
                    {foreach $company_detail.company_case as $item}
        				<div class="anli_tap">
        					<img src='{$item.poster}' alt="" class="anli_tap_pic" />
        					<div class="word_anli">
        						<div class="com_word_style">
        							<span>公司名称：</span>{$item.company_name}
        						</div>
        						<div class="com_word_style">
        							<span>资质类型：</span>{$item.category_name}
        						</div>
        						<div class="com_word_style">
        							<span>合作业务：</span>{$item.service_desc}
        						</div>
        						<div class="com_word_style">
        							<span>办理周期：</span>{$item.project_cycle}
        						</div>
        						<div class="com_word_style">
        							<span>办理价格：</span>{$item.project_price}
        						</div>
        						<div class="com_word_style">
        							<span>人员配置：</span>{$item.staff}
        						</div>
        					</div>
        				</div>
                    {/foreach}
    				
    			</div>
    		</div>
    		
    		<!-- 精英介绍 -->
    		<div class="wdSafe com_wrap">
    			<div class="com_header">
    				精英介绍
    				<a class="pull-right moreNews">更多</a>
    			</div>
    			<div class="intro_style_box clearfix">
                    {foreach $company_detail.company_staff as $item }
        				<div class="person_wrap">
        					<div class="person_img pull-left">
        						<img src="{$item.avatar}" alt="" />
        					</div>
        					<div class="pull-left clearfix person_det">
        						<div class="com_word_style">
        							<span>姓名：</span>{$item.name}
        						</div>
        						<div class="com_word_style">
        							<span>电话：</span>{$item.phone}
        						</div>
        						<div class="com_word_style">
        							<span>从业经历：</span>{$item.experience}
        						</div>
        					</div>
        				</div>
                    {/foreach}
    				
    			</div>
    		</div>
    		
    		<!-- 联系我们 -->
    		<div class="wdSafe com_wrap">
    			<div class="com_header">
    				联系我们
    			</div>
    			<div class="intro_style_box">
    				<div class="row">
				  	<div class="col-md-4">
				  		<p class="intro_style">
	    					客服热线：<span style="font-size: 22px;">17343030506</span>
	    				</p>
				  	</div>
				  	<div class="col-md-4">
				  		<p class="intro_style">
		    					地址：陕西省西安市；
		    				</p>
				  	</div>
				  	<div class="col-md-4">
				  		<p class="intro_style pull-left" style="margin-right: 15px;">关注我们，了解更多资讯</p>
	    				<img class="pull-left" src="https://img.qikuai100.com/code.png" alt="" />
				  	</div>
				</div>
    				
    			</div>
    		</div>

            <div class="widthFullScreen heightGray"></div>
        
        {include file="public/footer"}
        
        <script>
            var id = '{$id}';
            var shopJson = {};
            var baseUrl = 'https://api.qikuai100.com/';
            $(function(){
                // initCompany();
            });

            /**
            * 初始化数据
            */
            function initCompany() {
                // 获取资质分类详情代办公司
                $.ajax({
                    type: "POST",
                    url: baseUrl + "api/company/getOne",
                    data: {
                        "id": id,
                    },
                    success: function(result) {
                        if (result.ret == 0) {
                            shopJson = result.data;
                            var company_caseNew = [];
                            var company_staffNew = [];
                            for(var i = 0; i < shopJson.company_case.length; i++){
                                if(i < 3 && shopJson.company_case[i]){
                                    company_caseNew.push(shopJson.company_case[i]);
                                }
                            }
                            for(var i = 0; i < shopJson.company_staff.length; i++){
                                if(i < 4 && shopJson.company_staff[i]){
                                    company_staffNew.push(shopJson.company_staff[i]);
                                }
                            }
                            shopJson.company_caseNew = company_caseNew;
                            shopJson.company_staffNew = company_staffNew;
                            
                            // 公司数据
                            var htmlCompany = template('companyScript', shopJson);
                            document.getElementById('htmlCompany').innerHTML = htmlCompany;
                            var mySwiper = new Swiper('.companyDtSwiper', {
                                autoplay: 5000,//可选选项，自动滑动
                                pagination : '.swiper-pagination',
                                onlyExternal: true,
                                loop: false
                            });
                        }
                    }
                });
            }
        </script>


	</body>
</html>
